]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Disconnect from InputMethod::terminal-mode-changed on destruction
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 16 Nov 2022 10:42:46 +0000 (11:42 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 16 Nov 2022 18:06:27 +0000 (18:06 +0000)
commit52253625b84e9f6c6df7a581f307c1590c76ef72
treea29b5a7dbb367a5bd6135f8d52712f41004c31cc
parenta0352ba312a6781a5a2fcb79e22e0e84138168e9
keyboard: Disconnect from InputMethod::terminal-mode-changed on destruction

The OSK may be created and destroyed, while it connects to signals from the
longer-lived InputMethod object. This makes these signals linger and issue
copious warnings while trying to change the extended keymap and new ratio
on a defunct OSK.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6085
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2543>
js/ui/keyboard.js